#!/bin/bash
echo "AWS 打包部署"

rm -rf ./target
mkdir ./target

cp -r ./app ./target/
rm ./target/app/data.db

cp application.py ./target/
cp requirements.txt ./target/

#pip install -r requirements.txt -t target/
cd ./target/
zip -q -r python.zip *
